package com.wash.shoes.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wash.shoes.domain.vo.RegionDistributorVo;
import com.wash.shoes.entity.MtDeveloper;
import com.wash.shoes.page.PageFactory;
import com.wash.shoes.service.MtDeveloperService;
import com.wash.shoes.mapper.MtDeveloperMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jianguoli
 * @description 针对表【os_mt_developer(美团的开发者信息)】的数据库操作Service实现
 * @createDate 2025-03-12 22:57:25
 */
@Service
public class MtDeveloperServiceImpl extends ServiceImpl<MtDeveloperMapper, MtDeveloper>
        implements MtDeveloperService {

    @Override
    public List<MtDeveloper> getAllDev() {
        return this.baseMapper.getAllDev();
    }

    @Override
    public Page<MtDeveloper> pageList(MtDeveloper mtDeveloper) {
        Page<MtDeveloper> page = PageFactory.defaultPage();
        List<MtDeveloper> dataList = baseMapper.pageList(page, mtDeveloper);
        page.setRecords(dataList);
        return page;
    }
}




